﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Welcome to Transport Management System
    </h2><br />
    <div id="dvAdminPan" runat="server" visible="false">
    <h3 style="color: #FF0000">Hi!  <asp:Label ID="lblAdminName" runat="server"></asp:Label> You have the following items to approve!!!  </h3>
    <center>
    <p/>

    <br />
   
    <asp:GridView ID="grdDashBoard" runat="server" AutoGenerateColumns="False" Width="400px" 
            AllowSorting="True" CellPadding="4" ForeColor="#333333" GridLines="None">
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    <Columns>
    <asp:BoundField DataField="MasterName" HeaderText="Item Name" />
    <asp:TemplateField HeaderText="No of Item">
    <ItemTemplate>
    <a href="Pages/Approval.aspx?Type=<%#DataBinder.Eval(Container.DataItem, "MasterType").ToString().Trim() %>">
   <%# DataBinder.Eval(Container.DataItem, "RecordCount").ToString()%>
    </a>
    </ItemTemplate>
    </asp:TemplateField>  
    </Columns>
    
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#E9E7E2" />
        <SortedAscendingHeaderStyle BackColor="#506C8C" />
        <SortedDescendingCellStyle BackColor="#FFFDF8" />
        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    
    </asp:GridView>
    
    
    
    
     </center>
    </div>
    <br /><br /><br /><br /><br /><br />
    <p></p>
    <p></p>
     
      
</asp:Content>
